package com.cyh.ebptonlinewar.controller.online.json.imp;

import com.cyh.ebptonlinewar.controller.online.json.MemOpenJson;
import com.cyh.ebptpubjar.ebptlogger.EbptLogger;
import com.cyh.ebptpubjar.servicevo.memopenserjson.IMemInfoVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

@RestController
@RequestMapping(value = "/online/json/memOpen")
public class MemOpenJsonImp implements MemOpenJson {

    @Override
    @RequestMapping(value = "/dealMemInfo",method = RequestMethod.POST)
    public IMemInfoVO dealMemInfo(@RequestBody @Valid  IMemInfoVO vo) {
        EbptLogger.info(getClass(),"test:{}","xxxx");
        return new IMemInfoVO();
    }
}
